03. monitorEvents Quiz

monitorEvents Quiz

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

http://udacity.github.io/intro-to-jquery/

monitorEvents() Documentation

Control or right-click element and select Inspect. In javaScript Console tab enter:

monitorEvents($0)

Now when you mouse over this element, focus or click it, the name of the fired event will be displayed with its data.

To stop getting this data just write this to console:

unmonitorEvents($0)

To open javaScript Console:

Chrome: go to View > Developer > JavaScript Console (here’s a guide)

FireFox: go to Tools > Web Developer > Web Console (here’s a guide)

IE11: go to Tools > Developer Tools > Console icon (here’s a guide)

Safari:
turn on the Develop menu: Preferences > Advanced > Show Develop menu in menu bar
go to Develop > Show Web Inspector (here’s a guide)